package com.kz.springboot.common.exception;

/**
 * BizServiceRuntimeException
 *
 * @author wyz
 * @date 2017/9/14
 */
public class BizServiceRuntimeException extends RuntimeException {

    /**
     *
     */
    private static final long serialVersionUID = 5305264686660945067L;

    private String code;

    public BizServiceRuntimeException(String msg) {
        super(msg);
    }

    public BizServiceRuntimeException(String code, String msg) {
        super(msg);
        this.code = code;
    }

    public BizServiceRuntimeException(String msg, Throwable e) {
        super(msg, e);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
